package com.xja.tt.service;

import com.github.pagehelper.PageInfo;
import com.xja.tt.bean.Search;
import com.xja.tt.bean.Student;

/**
 * 创建时间：周三
 * 创建人：王鹏
 * 文件名：com.xja.tt.service
 */
public interface StudentService {

    void addstu(Student student) throws Exception;

    Student finStudentByNumber(Integer num) throws Exception;
     void updateStudent(Student student) throws  Exception;
    PageInfo<Student> findAllStudents(Search search) throws Exception;

    void deleteStudent(Integer number) throws Exception;
}
